package com.jsg.sl651.entity.frame.body.response;

import com.jsg.sl651.entity.frame.body.MessageBody;

/**
 * 主动请求后 遥测站的响应消息体
 */
public abstract class ResponseMessageBody extends MessageBody {


    /**
     * @return
     * @throws Exception
     */
    @Override
    public byte[] encodeHex() throws Exception {
        throw new Exception("主动请求后 遥测站的响应消息体不支持HEX编码");
    }

    /**
     * @return
     * @throws Exception
     */
    @Override
    public byte[] encodeAscii() throws Exception {
        throw new Exception("主动请求后 遥测站的响应消息体不支持ASCII编码");
    }
}
